<template>
    <div class="platform-content">
        <router-view></router-view>
    </div>
</template>

<script>

    export default {
        name: "PlatformContent",
        components: {},
        data() {
            return {
                columns1: [
                    {
                        title: '属性',
                        key: 'attribute'
                    },
                    {
                        title: '值',
                        key: 'value'
                    }
                ],
                data1: [
                    {
                        attribute: '上级',
                        value: "一级机构",
                    },
                    {
                        attribute: '编码',
                        value: "00001",
                    },
                    {
                        attribute: '全称',
                        value: "二级机构",
                    },
                    {
                        attribute: '简称',
                        value: "二级",
                    }
                ],
                data2: [
                    {
                        title: '一级机构 1',
                        expand: true,
                        children: [
                            {
                                title: '二级机构 1-1',
                                expand: true,
                                children: [
                                    {
                                        title: '三级机构 1-1-1'
                                    },
                                    {
                                        title: '三级机构 1-1-2'
                                    }
                                ]
                            },
                            {
                                title: '二级机构 1-2',
                                expand: true,
                                children: [
                                    {
                                        title: '三级机构 1-2-1'
                                    },
                                    {
                                        title: '三级机构 1-2-1'
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        title: '一级机构 2',
                        expand: true,
                        children: [
                            {
                                title: '二级机构 2-1',
                                expand: true,
                                children: [
                                    {
                                        title: '三级机构 2-1-1'
                                    },
                                    {
                                        title: '三级机构 2-1-2'
                                    }
                                ]
                            },
                            {
                                title: '二级机构 2-2',
                                expand: true,
                                children: [
                                    {
                                        title: '三级机构 2-2-1'
                                    },
                                    {
                                        title: '三级机构 2-2-1'
                                    }
                                ]
                            }
                        ]
                    }
                ],
                cityList: [
                    {
                        value: 'New York',
                        label: 'New York'
                    },
                    {
                        value: 'London',
                        label: 'London'
                    },
                    {
                        value: 'Sydney',
                        label: 'Sydney'
                    },
                    {
                        value: 'Ottawa',
                        label: 'Ottawa'
                    },
                    {
                        value: 'Paris',
                        label: 'Paris'
                    },
                    {
                        value: 'Canberra',
                        label: 'Canberra'
                    }
                ],
                model11: '',
                model12: []
            }
        },
        created() {
        }
    }
</script>

<style scoped>
    .platform-content {
        position: fixed;
        left: 240px;
        width: calc(100% - 240px);
        height: calc(100% - 80px);
        padding: 10px;
        overflow-y: auto;
    }
</style>